package com.weilian.androidgames.chicken;

import com.weilian.androidgames.framework.Game;
import com.weilian.androidgames.framework.Graphics;
import com.weilian.androidgames.framework.Graphics.PixmapFormat;
import com.weilian.androidgames.framework.Screen;

public class LoadingScreen  extends Screen{
	public LoadingScreen(Game game) {
		super(game);
	}

	@Override
	public void update(float deltaTime) {
		Graphics g = game.getGraphics();
		Assets.playUnclicked = g.newPixmap("play.png", PixmapFormat.RGB565);
		Assets.background = g.newPixmap("background.png", Graphics.PixmapFormat.RGB565);
		Assets.playClicked = g.newPixmap("playclick.png", PixmapFormat.RGB565);
		game.setScreen(new MainMenuScreen(game));
	}

	@Override
	public void present(float deltaTime) {
		
	}

	@Override
	public void pause() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void resume() {
		// TODO Auto-generated method stub
		int i = 1;
		
	}

	@Override
	public void dispose() {
		// TODO Auto-generated method stub
		
	}
}
